//
var TN_Widget = function() {
var months = ["", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
return {
newWindow : true,
CreateEventRow : function(row, isAlt) {
var t = row[4].split("/");
t[0] = months[t[0]];
t[2] = ", " + t[2];
return "
" +
t[0] + " " + "" + t[1] + "" +
t[2] + " " +
row[3].substring(0,3) + " " +
row[5] + " | " +
row[0] + " " +
row[1] + " - " +
row[2] + " | " + this.btnText + "" +
" |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kwds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
var footerLink = "";
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else if(document.querySelector(".tnpl_results_container") != null) {
document.querySelector(".tnpl_results_container").innerHTML = "" + newTable.join('') + "" + footerLink + "
";
}
else
document.write("" + newTable.join('') + "" + footerLink + "
");
}
};
}();
//BPW-TNSERV-02A
TN_Widget.AddCss('//s3.amazonaws.com/TNService/pl-widget/styles/tnpl-results-widget.css');
TN_Widget.CreateTable([['Kip Moore','Greenfield Lake Amphitheater','Wilmington, NC','Thursday','5/2/2024','6:00 PM','6330454','Kip-Moore-5-2-2024'],['Billy Currington & Kip Moore','Atlantic Union Bank Pavilion','Portsmouth, VA','Friday','5/3/2024','7:00 PM','6227174','Billy-Currington---Kip-Moore-5-3-2024'],['Billy Currington & Kip Moore','CCNB Amphitheatre at Heritage Park','Simpsonville, SC','Saturday','5/4/2024','7:00 PM','6227175','Billy-Currington---Kip-Moore-5-4-2024'],['Billy Currington & Kip Moore','The Youngstown Foundation Amphitheatre','Youngstown, OH','Saturday','5/11/2024','7:00 PM','6227176','Billy-Currington---Kip-Moore-5-11-2024'],['Billy Currington & Kip Moore','Mercedes-Benz Amphitheater ','Tuscaloosa, AL','Friday','5/17/2024','7:00 PM','6227177','Billy-Currington---Kip-Moore-5-17-2024'],['Billy Currington & Kip Moore','Ascend Amphitheater','Nashville, TN','Saturday','5/18/2024','7:00 PM','6227178','Billy-Currington---Kip-Moore-5-18-2024'],['Hardy, Kip Moore, Travis Denning & Stephen Wilson Jr.','Walmart AMP','Rogers, AR','Thursday','5/30/2024','6:45 PM','6211647','Hardy--Kip-Moore--Travis-Denning---Stephen-Wilson-Jr--5-30-2024'],['Hardy, Kip Moore, Travis Denning & Stephen Wilson Jr.','Hollywood Casino Amphitheatre - MO','Maryland Heights, MO','Friday','5/31/2024','6:45 PM','6211648','Hardy--Kip-Moore--Travis-Denning---Stephen-Wilson-Jr--5-31-2024'],['Railbird Music Festival: Noah Kahan, Turnpike Troubadours, Chris Stapleton & Hozier - 2 Day Pass','The Red Mile','Lexington, KY','Saturday','6/1/2024','TBD','6131986','Railbird-Music-Festival--Noah-Kahan--Turnpike-Troubadours--Chris-Stapleton---Hozier---2-Day-Pass-6-1-2024'],['Hardy, Kip Moore, Travis Denning & Stephen Wilson Jr.','Ruoff Music Center','Noblesville, IN','Saturday','6/1/2024','6:45 PM','6211649','Hardy--Kip-Moore--Travis-Denning---Stephen-Wilson-Jr--6-1-2024']],'"Kip Moore"','https://www.ticketnetwork.com');